﻿<?php
namespace Home\Model;
use Think\Model;
class UserModel extends Model{
    //自动验证
    protected $_validate=array(
        array('verify','require','验证码必须验证!'),
        array('nsername','require','用户名不能为空'),
        array('password','require','密码不能为空')
    );
}